<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>排班设置</title>
<c:import url="/WEB-INF/jsp/head.jsp" />
<c:import url="/WEB-INF/jsp/plugin/timepicker.jsp" />
<c:import url="/WEB-INF/jsp/plugin/loading.jsp" />
<script type="text/javascript" src="static/js/bootbox.4.4.0.min.js"></script>
<c:import url="/WEB-INF/jsp/plugin/vue.jsp" />
<script type="text/javascript" src="static/js/attendance/setting.js"></script>
</head>
<body>
	<div id="app" class="default-theme container-fluid iframe">
		<div class="col-md-4">
			<form class="text-left required-validate" action="attendance/setting"
				method="post">
				<div class="form-group">
					<label for="onWork">上班时间</label> <input type="text" name="onWork"
						class="form-control" readonly="readonly"
						value="${setting.onWork}:00" />
				</div>
				<div class="form-group">
					<label for="offWork">下班时间</label> <input type="text" name="offWork"
						class="form-control" readonly="readonly"
						value="${setting.offWork}:00" />
				</div>
				<div class="form-group">
					<label for="allowLate">允许迟到时间(分钟)</label> <input type="number"
						min="0" max="479" name="allowLate" class="form-control"
						value="${setting.allowLate}" />
				</div>
				<div class="form-group">
					<label for="allowLeave">允许早退时间(分钟)</label> <input type="number"
						min="0" max="479" name="allowLeave" class="form-control"
						value="${setting.allowLeave}" />
				</div>
				<button id="login-submit" type="submit"
					class="btn btn-primary col-md-12">修改配置</button>
			</form>
		</div>
	</div>
</body>
</html>